import request from '@/utils/request'

// 查询薪酬项目与会计科目对照列表
export function listXcxmaccont(query) {
  return request({
    url: '/basedata/xcxmaccont/list',
    method: 'get',
    params: query
  })
}

// 查询薪酬项目与会计科目对照详细
export function getXcxmaccont(fid) {
  return request({
    url: '/basedata/xcxmaccont/' + fid,
    method: 'get'
  })
}

// 新增薪酬项目与会计科目对照
export function addXcxmaccont(data) {
  return request({
    url: '/basedata/xcxmaccont',
    method: 'post',
    data: data
  })
}

// 修改薪酬项目与会计科目对照
export function updateXcxmaccont(data) {
  return request({
    url: '/basedata/xcxmaccont',
    method: 'put',
    data: data
  })
}

// 删除薪酬项目与会计科目对照
export function delXcxmaccont(fid) {
  return request({
    url: '/basedata/xcxmaccont/' + fid,
    method: 'delete'
  })
}
